#include "Pch.h"

#include "Dx11Globals.h"

#pragma comment(lib, "D3D11.lib")
#pragma comment(lib, "DXGI.lib")
#pragma comment(lib, "D3DCompiler.lib")
#pragma comment(lib, "DXGUID.lib")

namespace MCD
{

ID3D11Device* gD3d11Device = nullptr;
ID3D11DeviceContext* gD3d11DeviceContext = nullptr;
D3D_FEATURE_LEVEL gD3dFeatureLevel;

MCD_RENDERADV_API ID3D11Device*& getD3D11Device()
{
	return gD3d11Device;
}

MCD_RENDERADV_API ID3D11DeviceContext*& getD3D11DeviceContextIM()
{
	return gD3d11DeviceContext;
}

}	// namespace MCD